//doctorInfo模块的仓库
const state = () => ({
    //医生id
    doctorId:0,
})

//mutations是唯一修改state的地方
const mutations = {
    SET_DOCTORID(state, id) {
        state.doctorId = id
    },
    
}

//action是用户处理派发action的地方，可以书写异步语句、逻辑的地方
const actions = {


}

const getters = {}
export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters
}